home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 40
/
Aminet 40 (2000)(Schatztruhe)[!][Dec 2000].iso
/
Aminet
/
util
/
wb
/
remember.lha
/
RememberReader.p
< prev
next >
Wrap
Text File
|
1998-04-01
|
1KB
|
35 lines
; Remember reader 1.0
;
; (c) 1998 Cyborg
{* Include sys:coder/preass/Options.p *}
{* Include sys:coder/preass/Prozeduren.p *}
{* String: Version="$VER: Remember Reader 1.0 30.3.98 (C) CYBORG 98"*}
{* Incblock: Buffer1,250*}
{* Incblock: Buffer3,250*}
{* Incblock: Buffer2,250*}
Start:
OH=Output()
If (TH=Open("Envarc:Remember.tasks",#Mode_old))=#0 --> .ende
.l1:
Result=Fgets(TH,#Buffer1,250)
Result=Fgets(TH,#Buffer3,250)
If Result=#0 --> .close
If (FH=Open("Envarc:Remember.dump",#Mode_old))##0 {
.l3:
Result=Fgets(FH,#Buffer2,250)
If Result=#0 --> .l2
If Comparestring(#Buffer1,#Buffer2,0,#MODE_nocase)=#0 --> .l3
Execute(#Buffer3,0,0)
.l2:
Close(FH)
bra .l1
}
.close:
Close(TH)
.ende:
RTS